<?php
/**
 * User: lsx
 * Date: 2017/6/24
 * Time: 11:37
 * Progress:0%
 */

namespace app\index\controller;


use icontroller\admin\AController;
use icontroller\admin\index\IAccountLog;
use logic\admin\index\LAccountLog;

class AccountLog extends AController
{
    private $logic;
    public function __construct()
    {
        $this->logic = new LAccountLog();
    }

    public function index()
    {
        return view();
    }

    public function index_data()
    {
        $param=array(
            'search'=>input('search'),
            'limit'=>input('limit'),
            'offset'=>input('offset'),
            'ordinal'=>input('ordinal'),
            'order'=>input('order'),
        );
        $data=$this->logic->index_data($param);
        return $data;
    }
}